<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>带参数的forward动作标记2</title>
</head>
<body>
<%
// 获取forward页面传递过来的数据
    String name = request.getParmter("username");
    String pw = request.getParmter("password");
    out.println("你的用户名是:"+name);
    out.println("你的密码是:"+pw);
%>
</body>
</html>